Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Storage State in Carbonado #351

Merged
merged 6 commits into from
Aug 24, 2023
Merged

Fix Storage State in Carbonado #351

merged 6 commits into from
Aug 24, 2023

Conversation

crisdut
Copy link
Member

@crisdut crisdut commented Aug 20, 2023

Description

I found a problem with carbonado overwriting file verification when we use wasm32 (see here).

After running consecutive transfers (more than 100x), the rgb_wallet or stock ends up having a minimum variation of bytes downwards, which ends up being unsaved, and this causes some issues in contract states (@josediegorobles I believe this causes some inconsistencies in the balances you reported).

This PR still needs to be completed, I need some help to test it.

@crisdut crisdut marked this pull request as draft August 20, 2023 22:51
Copy link
Member

@cryptoquick cryptoquick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, this should be fine. We really should get an automerge implementation of #268, however, I think that would resolve all these issues.

@crisdut crisdut marked this pull request as ready for review August 21, 2023 11:39
@crisdut crisdut self-assigned this Aug 23, 2023
@crisdut crisdut added bug Something isn't working rgb wasm labels Aug 23, 2023
@crisdut crisdut added this to the 0.6.3 milestone Aug 23, 2023
@crisdut
Copy link
Member Author

crisdut commented Aug 23, 2023

Sure, this should be fine. We really should get an automerge implementation of #268, however, I think that would resolve all these issues.

Yes, we finished that: #353

@cryptoquick cryptoquick merged commit 42107c3 into development Aug 24, 2023
@cryptoquick cryptoquick deleted the CD/fix-storage branch August 24, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working carbonado rgb wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants